<?$this->_extends("_layouts/index_layout");?>
<?$this->_block("contents");?>
<script language="javascript" type="text/javascript">
$(function(){
    $('#menu_dt dt').click(function(){
        var dt_id = $(this).attr('id');
        if($(this).attr('class') == 'open'){
            $(this).attr('class','');
            $('.son_'+dt_id).css('display','block');  
        }else{
            $(this).attr('class','open');
            $('.son_'+dt_id).css('display','none');   
        }
    }); 
});
</script>

<div class="main colorbg1 mt10"><span class="color2 ml10">您现在的位置：</span><a href="<?php echo url('index');?>">主页</a> <?php echo $location;?> </div>
<div class="main mt10">
<dl class="px mb10 fleft border3" id="menu_dt">
<?php
echo $left;
?>
</dl>

<div class="border1 width740 fright" style="min-height: 400px">
<ul class="xw3 mt20">
<?php foreach ($list as $row) {?>
      <li><a href="<?=url('/classnewsread', array('newsid'=>$row['id']))?>" target="_blank" title="<?php echo $row['title'];?>"><?php if(array_key_exists($row['type_id'],$array_cat)){echo '['.$array_cat[$row['type_id']]['type_name'].'] ';}?><?php echo Helper_Util::utfSubStr(stripslashes($row['title']),60);?></a> <span><?php echo date('Y-m-d', $row['release_date']);?></span><br/>
      </li>
      <?php }?>
</ul>
<div class="fright mt20 mb20 width475">
<?php $this->_control("pagination2", "", array('pagination'=>$pager,'url_args'=>array('catId'=>$catId)));?>
<div class="clear"></div>
</div>
<div class="clear"></div>
</div>
<div class="clear"> </div>
</div>

<?$this->_endblock();?>

